package com.our.shop.system.util;

import java.util.List;

import org.apache.ibatis.session.RowBounds;


public class ArrayPageList extends AbstractPageList {
	
	public ArrayPageList(List<Object> list, int totalSize, RowBounds pageRequest) { 
		this(list, totalSize, pageRequest.getLimit(), pageRequest.getOffset());
	}
	
	public ArrayPageList(List<Object> list, int totalSize, int pageSize, int currentPage) {
		super.pageList = list;
		super.pageSize = pageSize;
		super.totalSize = totalSize;
		super.currentPage = currentPage;
	}

}
